home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / os-includeppc / inline / asl.h < prev    next >
C/C++ Source or Header  |  1997-04-14  |  1KB  |  49 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_ASL_H
  4. #define _INLINE_ASL_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef ASL_BASE_NAME
  11. #define ASL_BASE_NAME AslBase
  12. #endif /* !ASL_BASE_NAME */
  13.  
  14. #define AllocAslRequest(reqType, tagList) \
  15.     LP2(0x30, APTR, AllocAslRequest, unsigned long, reqType, d0, struct TagItem *, tagList, a0, \
  16.     , ASL_BASE_NAME)
  17.  
  18. #ifndef NO_INLINE_STDARG
  19. #define AllocAslRequestTags(a0, tags...) \
  20.     ({ULONG _tags[] = { tags }; AllocAslRequest((a0), (struct TagItem *)_tags);})
  21. #endif /* !NO_INLINE_STDARG */
  22.  
  23. #define AllocFileRequest() \
  24.     LP0(0x1e, struct FileRequester *, AllocFileRequest, \
  25.     , ASL_BASE_NAME)
  26.  
  27. #define AslRequest(requester, tagList) \
  28.     LP2(0x3c, BOOL, AslRequest, APTR, requester, a0, struct TagItem *, tagList, a1, \
  29.     , ASL_BASE_NAME)
  30.  
  31. #ifndef NO_INLINE_STDARG
  32. #define AslRequestTags(a0, tags...) \
  33.     ({ULONG _tags[] = { tags }; AslRequest((a0), (struct TagItem *)_tags);})
  34. #endif /* !NO_INLINE_STDARG */
  35.  
  36. #define FreeAslRequest(requester) \
  37.     LP1NR(0x36, FreeAslRequest, APTR, requester, a0, \
  38.     , ASL_BASE_NAME)
  39.  
  40. #define FreeFileRequest(fileReq) \
  41.     LP1NR(0x24, FreeFileRequest, struct FileRequester *, fileReq, a0, \
  42.     , ASL_BASE_NAME)
  43.  
  44. #define RequestFile(fileReq) \
  45.     LP1(0x2a, BOOL, RequestFile, struct FileRequester *, fileReq, a0, \
  46.     , ASL_BASE_NAME)
  47.  
  48. #endif /* !_INLINE_ASL_H */
  49.